package com.felix.ocoupon.service;

import com.felix.ocoupon.entity.OcouponTemplate;
import com.felix.ocoupon.exception.OcouponException;
import com.felix.ocoupon.vo.OcouponTemplateVO;

/**
 * @author hsufelix
 * @email hsufelix@yeah.net
 * @Date 2020/11/14
 */
public interface IOcouponTemplateService {
    /**
     * 创建优惠券模板.
     * @param vo 参数
     * @return OcouponTemplate
     * @throws OcouponException
     */
    OcouponTemplate buildTempate(OcouponTemplateVO vo) throws OcouponException;
}
